﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autodesk.AutoCAD.Geometry;

namespace Galaxy.AutoCAD.Geometrys
{
    public static class Vector2dTool
    {
        #region 求两个向量的乘积
        public static double GetVectorProduct(this Vector2d firstVec, Vector2d secondVec)
        {
            return firstVec.X * secondVec.Y - secondVec.X * firstVec.Y;
        }
        #endregion
    }
}
